package org.example.myleet.p480;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue(Assert.isPass(new double[]{1,-1,-1,3,5,6}, solution.medianSlidingWindow(new int[]{1,3,-1,-3,5,3,6,7}, 3)));
        Assert.isTrue(Assert.isPass(new double[]{2147483647}, solution.medianSlidingWindow(new int[]{2147483647,2147483647}, 2)));
        Assert.isTrue(Assert.isPass(new double[]{4.0,4.0,3.0,2.0,3.0,6.0,6.0,4.0}, solution.medianSlidingWindow(new int[]{0,4,6,0,3,2,6,9,4,1}, 3)));
    }
}
